import com.ll.generic.Lhist;

/**
 * Created with IntelliJ IDEA.
 * User: linlin
 * Date: 13-6-23
 * Time: 下午9:55
 * To change this template use File | Settings | File Templates.
 */
public class LhistMain {
    public static void main(String[] args){
        Lhist<Integer> li = new Lhist<Integer>(30);
        li.add(new Integer(1));
        li.add(new Integer(2));
        System.out.println(li.get(0));
        System.out.println(li.size());

        Lhist<String> ls = new Lhist<String>(10);
        ls.add("ll");
        ls.add("pp");
        System.out.println(ls.get(0));


    }

}
